/* CSS by Brade - www.bradezone.com */
/* Icons by Hever [hev.cz] - June 2009, ver 0.1.3 */
/* Used icons: Silk icon set 1.3 by Mark James --- http://www.famfamfam.com/lab/icons/silk/ */
/* modified by davidgrudl */


body {
	background: #FFF;
	color: #333;
	font: 13px/18px Helvetica, Arial, sans-serif;
}

/* generic */
a, a:visited {
	padding: 1px 2px;
	border-bottom: 1px dotted;
	color: #06C;
	text-decoration: none;
}

a:hover {
	background-color: #06C !important;
	border-bottom: 1px solid #06C;
	color: #FFF;
}

p {
	margin-bottom: 4px;
	padding-bottom: 4px;
}

h1 {
	background: none;
	border: none;
	color: #666;
	font-size: 18px;
	font-weight: bold;
	height: 40px;
	padding: 0 0 8px;
}

h2 {
	background: transparent;
	border: none;
	color: #333;
	font: 32px Georgia,serif;
	margin: 0;
	padding: 10px 0 8px;
}

h3 {
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	padding: 4px 0;
}

fieldset {
	border: 1px solid #CCC;
	float: left;
	margin-bottom: 8px;
	margin-right: 4px;
	min-height: 48px;
	padding: 0 4px 4px;
}

fieldset div {
	margin-top: 4px;
}

input, select, textarea {
	border: 1px solid #999;
	color: #555;
	font: 13px Helvetica,Arial,sans-serif;
	padding: 3px;
}

textarea, .sqlarea {
	font-family: Consolas,monospace;
	height: 500px;
}

input[type=submit] {
	background: #ccc;
	color: #333;
	cursor: pointer;
	padding: 2px;
}

input[type=image], input[type=checkbox] {
	border: none;
	padding: 0;
	vertical-align: middle;
}

label input[type=checkbox], td input[type=radio], td span select {
	margin-right: 4px;
}

select {
	border: 1px solid #999;
	padding: 2px;
}

fieldset select {
	margin-right: 4px;
}

option {
	padding: 0 5px;
}

optgroup {
	font-size: 11px;
}

code {
	background: #EEE;
	font-family: Consolas,monospace;
	padding: 2px 4px;
}

code a:hover {
	background-color: transparent !important;
}

table {
	border: 1px solid #CCC;
	font-size: inherit;
	margin: 4px 0 8px;
}

tbody tr:hover td, tbody tr:hover th {
	background: #EEE;
}

thead tr:hover td, thead tr:hover th {
	background: #DDD;
}

th, td {
	background: inherit;
	border: 1px dotted #CCC;
	border-width:0 0 0 1px;
	font-weight: normal;
	margin: 0;
	padding: 2px 4px;
	text-align: left;
	vertical-align: top;
}

thead th, thead td {
	background: #ddd;
	border-color: #DDD;
	font-weight: bold;
	white-space: nowrap;
}

th:first-child, td:first-child {
	border-color: transparent;
	white-space: nowrap;
}

td[align=right] {
	text-align: right;
}

table code {
	font-size: 13px;
	line-height: 18px;
}

.hidden {
	display: none;
}

.error, .message {
	background: transparent;
	font-weight: bold;
	padding: 0;
}

.error {
	color: #C00;
}

.message {
	color: #090;
}

/* specific */

#content {
	height: 100%;
	margin: 40px 0 0 300px;
	padding: 20px;
	background: white;
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
}

#content:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	overflow: hidden;
}

#content > p {
	clear: left;
}

#lang {
	background: #333;
	color: #FFF;
	height: 40px;
	left: 0;
	line-height: 40px;
	padding: 0 20px 0 40px;
	position: fixed;
	top: 0;
	width: 100%;
}

#lang select {
	border-color: #333;
}

#menu {
	background: #EEE;
	border: 5px solid #CCC;
	bottom: 20px;
	left: 20px;
	margin: 0;
	overflow: auto;
	padding: 10px 15px;
	position: fixed;
	top: 60px;
	width: 240px;
}

#menu a {
	color: #333;
	border: none;
	margin-right: 4px;
}

#menu a:hover {
	color: #FFF;
}

#menu p {
	border: none;
	margin: 0 0 4px;
	padding: 0 0 4px;
	white-space: nowrap;
}

#breadcrumb {
	background: #333;
	color: #FFF;
	left: 320px;
	line-height: 40px;
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0;
	width: 100%;
}

#breadcrumb a {
	color: #FF9;
}

#breadcrumb a:hover {
	background: transparent;
	border-color: #FF9;
	color: #FF9;
}

#schema .table {
	background: #F3F3F3;
	padding: 4px 8px;
}

/* IE hacks */
* + html th:first-child, * + html td:first-child {
	border-color: inherit;
	white-space: inherit;
}

* html #lang, * html #menu, * html #breadcrumb {
	position: absolute;
}

* html #lang {
	height: 30px;
	padding-top: 10px;
}

* html form#form {
	height: 100%;
}



/* icons */
/* IE 6-7 doesn't support inline images - using some hack that eliminate IE */
html/*\*/>/*/*/body .error {
	background: url("") no-repeat scroll 0.8em center #FFEEEE;
	padding-left: 38px;
}

html/*\*/>/*/*/body .message, #menu p.message {
	background: url("") no-repeat scroll 0.8em center #EEFFEE;
	padding-left: 38px;
}

html/*\*/>/*/*/body a[href$="sql="] {
	background: url("") no-repeat scroll left bottom;
	padding-left: 22px;
}

html/*\*/>/*/*/body a[href*="dump="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body a[href$="dump="] {
	background: url("") no-repeat scroll 2px center	;
	padding-left: 22px;
}

html/*\*/>/*/*/body select[name="db"] {
	background: url("") no-repeat scroll left center white;
	padding-left: 16px;
}

html/*\*/>/*/*/body select[name="db"] option {
	padding-left: 18px;
}

html/*\*/>/*/*/body #menu p a[href*="&select="] {
	clear: left;
	display: block;
	float: left;
	margin-right: 8px;
	overflow: hidden;
	padding-left: 0;
	text-decoration: none;
	width: 16px;
	line-height: 16px;
}

html/*\*/>/*/*/body #menu p a[href*="&select="]:before {
	content: url("");
	padding-right: 5px;
}

html/*\*/>/*/*/body #menu p a[href*="&select="]:hover {
	background: #FFC;
	border: 1px solid #CCC;
	color: white;
	font-size: .9em;
	line-height: 16px;
	margin-left: -3px;
	margin-top: -2px;
	overflow: visible;
	padding: 1px 2px;
	position: absolute;
	width: auto;
}

html/*\*/>/*/*/body #menu p a[href*="&table="], html/*\*/>/*/*/body #menu p a[href*="&view="] {
	clear: right;
	display: block;
	min-height: 20px;
	margin-left: 24px;
	padding-bottom: 1px;
	text-decoration: none;
}

html/*\*/>/*/*/body #menu p br {
	display: none;
}

html/*\*/>/*/*/body a[href*="&create="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body a[href$="&create="] {
	background: url("") no-repeat scroll left center;
	padding-left: 22px;
}

html/*\*/>/*/*/body a[href*="&default="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body #content p a[href*="&select="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body #content p a[href*="&page="] {
	background-image: none;
	padding: .2em .5em;
}

html/*\*/>/*/*/body #content p a[href*="&edit="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body #content p a[href*="&table="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body #content p a[href*="&database="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body #content p a[href*="&schema="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 22px;
}

html/*\*/>/*/*/body #content p a[href*="&sql="] {
	background: url("") no-repeat scroll 2px center;
	padding-left: 24px;
}

html/*\*/>/*/*/body table tbody input[type="checkbox"] {
	display: block;
	float: left;
}

html/*\*/>/*/*/body table a[href*="&edit="][href*="&where"] {
	background: url("") no-repeat scroll right center;
	padding-right: 18px;
}

html/*\*/>/*/*/body table input + a[href*="&edit="][href*="&where"] {
	clear: right;
	display: block;
	float: left;
	line-height: 15px;
	margin-right: 8px;
	overflow: hidden;
	padding-right: 0;
	padding-top: 0;
	text-decoration: none;
	width: 16px;
}

html/*\*/>/*/*/body table input + a[href*="&edit="][href*="&where"]:before {
	content: url("");
	padding-right: 5px;
}

html/*\*/>/*/*/body table input + a[href*="&edit="][href*="&where"]:hover {
	background: #FFC;
	border: 1px solid #CCC;
	color: white;
	font-size: .9em;
	margin-left: 18px;
	margin-top: -2px;
	overflow: visible;
	padding: 1px 2px;
	position: absolute;
	width: auto;
}

html/*\*/>/*/*/body table a[href*="&clone="] {
	clear: right;
	display: block;
	float: left;
	line-height: 15px;
	margin-right: 8px;
	overflow: hidden;
	padding-top: 0;
	text-decoration: none;
	width: 16px;
}

html/*\*/>/*/*/body table a[href*="&clone="]:before {
	content: url("");
	padding-right: 5px;
}

html/*\*/>/*/*/body table a[href*="&clone="]:hover {
	background: #FFC;
	border: 1px solid #CCC;
	color: white;
	font-size: .9em;
	margin-left: 42px;
	margin-top: -2px;
	overflow: visible;
	padding: 1px 2px;
	position: absolute;
	width: auto;
}

html/*\*/>/*/*/body input[name="delete"], html/*\*/>/*/*/body input[name="drop"] {
	background: url("") no-repeat scroll left center;
	border: none;
	cursor: pointer;
	font-size: .9em;
	padding: 1px 5px 1px 18px;
}

html/*\*/>/*/*/body input[name="delete"]:hover, html/*\*/>/*/*/body input[name="drop"]:hover {
	background-image: url("");
	color: red;
}

html/*\*/>/*/*/body input[name="logout"] {
	background: url("") no-repeat scroll left center;
	border: none;
	cursor: pointer;
	margin-left: 6px;
	overflow: hidden;
	text-indent: 18px;
	width: 16px;
}


/* paginator */
.pages {
	margin: 1em 0;
	font-size: 90%;
}

.pages a[href*="&page="] {
	margin: .2em;
	padding: .2em .5em;
	border: 1px solid #9AAFE5;
	text-decoration: none;
}
